package com.cloud.bssp.admin.wanda.dto;

import com.cloud.bssp.util.BaseDTO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
        import java.time.LocalDateTime;
import lombok.Data;

/**
 * Description: 员工表
 * Create Date: 2021-07-08T15:36:33.901
 * Modified By：<br>
 * Modified Date：<br>
 * Why & What is modified：<br>
 *
 * @author weirx
 * @version 1.0
 */
@Data
@ApiModel(value = "EmployeeDTO", description = "数据传输对象EmployeeDTO")
public class EmployeeDTO extends BaseDTO {

        /**
         * 
         */
        @ApiModelProperty(notes = "")
            @JsonFormat(shape = JsonFormat.Shape.STRING)
        private Integer id;

        /**
         * 岗位名称
         */
        @ApiModelProperty(notes = "岗位名称")
        private String postName;

        /**
         * 部门名称
         */
        @ApiModelProperty(notes = "部门名称")
        private String departmentName;

        /**
         * 序号
         */
        @ApiModelProperty(notes = "序号")
        private Integer serialNumber;

        /**
         * 部门内编号
         */
        @ApiModelProperty(notes = "部门内编号")
        private Integer number;

        /**
         * 员工姓名
         */
        @ApiModelProperty(notes = "员工姓名")
        private String employeeName;

        /**
         * 工号
         */
        @ApiModelProperty(notes = "工号")
        private String jobNumber;

        /**
         * 账号
         */
        @ApiModelProperty(notes = "账号")
        private String account;

        /**
         * 员工离职或入职时间
         */
        @ApiModelProperty(notes = "员工离职或入职时间")
        private String employeeDate;

        /**
         * 删除标记，1是0否
         */
        @ApiModelProperty(notes = "删除标记，1是0否")
        private Integer isDelete;

        /**
         * 创建人id
         */
        @ApiModelProperty(notes = "创建人id")
        private Long createUser;

        /**
         * 创建时间
         */
        @ApiModelProperty(notes = "创建时间")
            @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
        private LocalDateTime createTime;

        /**
         * 更新人id
         */
        @ApiModelProperty(notes = "更新人id")
        private Long updateUser;

        /**
         * 更新时间
         */
        @ApiModelProperty(notes = "更新时间")
            @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
        private LocalDateTime updateTime;

}
